package saxion.speelveld.spaceengineer.model;

import java.io.Serializable;
import java.util.ArrayList;

public class TradePlanet implements Serializable
{
	private String planetName;

	private int planetImage;

	ArrayList<TradeDeal> deal;

	public TradePlanet(String name)
	{
		setPlanetName(name);
		deal = new ArrayList<TradeDeal>();
	}

	public void AddtradeDeal(ResourceType tradeType, int amount, int cost)
	{
		deal.add(new TradeDeal(tradeType, amount, cost));
	}

	public ArrayList<TradeDeal> getDeals()
	{
		return deal;
	}

	public String getPlanetName()
	{
		return planetName;
	}

	public void setPlanetName(String planetName)
	{
		this.planetName = planetName;
	}

	public int getPlanetImage()
	{
		return planetImage;
	}

	public void setPlanetImage(int planetImage)
	{
		this.planetImage = planetImage;
	}

}
